<?php function _tag_yp_tag_content_product($data, $number, $rows, $count, $page, $pages, $setting){ global $PHPCMS,$MODULE,$M,$CATEGORY,$TYPE,$AREA,$GROUP,$MODEL,$templateid,$_userid,$_username;@extract($setting);?><?php if(is_array($data)) foreach($data AS $n => $r) { ?>
<li><?php if($thumb) { ?><img src="<?php echo $r['thumb'];?>" alt="" width="<?php echo $width;?>" height="<?php echo $height;?>"/><?php } ?><a href=""><strong><?php if($titlelen) { ?><?php echo str_cut($r['title'],$titlelen);?><?php } else { ?><?php echo $r['title'];?><?php } ?></strong><span><?php if($contentlen) { ?><?php echo str_cut($r['content'], $contentlen);?><?php } else { ?><?php echo $r['content'];?><?php } ?></span></a></li>
<?php } ?>
<?php if($pages) { ?><div id="pages"><?php echo $pages;?></div><?php } ?><?php } ?>